<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Hoonur</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<center>
<div id="maindiv">
    <div class="floatLeft">
        <?php $title='Profile'; 
        require('includes/header.php'); 
			
			$name = mysql_query("Select * from users where user_id =". $_SESSION['user_id']);

				$getName = mysql_fetch_array($name);
		?>
    </div>
<div id="wrapCenter">


		<br /><br /><div class="userName font13 floatleft" style="margin-bottom: 10px;">

			<?php echo $getName['fname'] . " " . $getName['lname'];?>

		</div><br /><br />

	<div id="wrapLeft">
		

		<div id="ProfilePic">
		
			<div class="uploadImage">


			</div>

			<div>
		
				<a href="#"><span class="textblue" style="text-align: center;s">Edit Photo</span></a>

			</div>

		</div>

		<div class="blank">&nbsp;</div>

		<div class="popularitymeter boder2pxgray fontwt800" style="width: 100%; text-align: left;">

			<span>Popularity Meter</span>
			<div class="clear"></div>

			<div class="blank10"></div>
			<div>
	
				<img src="images/grey_star.gif" width="14" height="15">

				<img src="images/grey_star.gif" width="14" height="15">

				<img src="images/grey_star.gif" width="14" height="15">

				<img src="images/grey_star.gif" width="14" height="15">

				<img src="images/grey_star.gif" width="14" height="15">
			
			</div>
			
			<div class="blank10"></div>

		</div>

		<div class="clear"></div>
		<div id="iFollow" class="boder2pxgray">

			<div class="fontwt800 floatleft">I Follow - 0</div>

			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>

			<p style="text-align: center;">Not following anyone</p>

			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>


		</div>

		<div id="myFollowers" class="boder2pxgray">

			<div class="fontwt800 floatleft">My Followers - 0</div>

			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>

			<p style="text-align: center;">No followers</p>

			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>


		</div>

		<div id="myFriends" class="boder2pxgray">


			<div class="fontwt800 floatleft">Friends - 0</div>

			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>

			<p style="text-align: center;">No friends</p>

			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>

			

			<a href="#"><span class="textblue floatleft">Invite your friends.</span></a><div class="clear"></div>

		</div>

		<div id="friendRequest" class="boder2pxgray">

			<div class="fontwt800 floatleft">Friend Requests - 0</div>

			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>

			<p style="text-align: center;">No new friend requests</p>

			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>

		</div>

		<div id="profileMeter" class="boder2pxgray blank5">
	
			<div class="fontwt800 floatleft">Profile Meter</div>

			<a href="#"><div class="floatright tahoma-font8">improve</div></a>

			<div class="clear"></div>

			<div class="blank5">&nbsp;</div>

			<div class="profileMeter floatleft"></div>

			<div class="profilePerMeter floatright tahoma-font8">0%</div>

			<div class="clear"></div>

			<div class="blank5">&nbsp;</div>

		</div>

		<div class="blank5">&nbsp;</div>

		<div id="myMedia" class="boder2pxgray">
		
			<div class="myMedia fontwt800 floatleft">My Media</div>

			<div class="floatright tahoma-font8">upload</div>

			<div class="clear"></div>

			<div class="blank5">&nbsp;</div>

			<div class="myMediaImage">
			
				<img width="32" height="32" align="left" alt="" src="images/portfolio.gif" oncontextmenu="return false;">
				
				<span class="floatleft" style="margin-left: 10px;">Photos - 0</span>

				<div class="clear"></div>
				
			</div>

			<div class="myMediaImage">
				
				<img width="32" height="32" align="left" alt="" src="images/portfolio.gif" oncontextmenu="return false;">
				
				<span class="floatleft" style="margin-left: 10px;">Videos - 0</span>
				
				<div class="clear"></div>
				
			</div>

			<div class="myMediaImage">
			
				<img width="32" height="32" align="left" alt="" src="images/portfolio.gif" oncontextmenu="return false;">
				
				<span class="floatleft" style="margin-left: 10px;">Audios - 0</span>
						
				<div class="clear"></div>

				<a href="#"><div class="viewAllMedia floatright tahoma-font8">view all</div></a>

				<div class="clear"></div>
				
			</div>

		</div>

		<div class="blank5">&nbsp;</div>

		<div id="basicInformation" class="boder2pxgray">
		
			<div class="fontwt800 floatleft">
			
				Basic Information

			</div>

			<a href="Settings.php?mobiletabs=0"><div class="floatright textblue">edit</div></a>

			<div class="clear"></div>

			<div class="blank5">&nbsp;</div>

				<table cellspacing="2" cellpadding="2" width="100%">

					<?php
					
						echo "<tr><td>Name :</td><td>".$getName['fname']." " .$getName['lname']."<br/></td></tr>";

						echo "<tr><td>Location :</td><td>".$getName['location']."<br/><td></tr>";

						echo "<tr><td>Gender :</td><td>".$getName['gender']."<br/><td></tr>";

						echo "<tr><td>Dob :</td><td>".$getName['birthdate']."<br/><td></tr>";
					?>

				</table>

				<div class="blank">&nbsp;</div>
		
		</div>

		<div class="blank5">&nbsp;</div>

		<div id="physicalDetails">
		
			<div class="physicalDetails fontwt800 floatleft">Physical Details</div>

			<a href="Settings.php?mobiletabs=4"><div class="floatright textblue">edit</div></a>

			<div class="clear"></div>

			<div class="blank5">&nbsp;</div>

			<table cellspacing="3" cellpadding="0" width="100%">

					<?php

						$myPhsclDetails = mysql_query("select * from physical_details as p, height as h, eye_color_master as ecm, hair_color_master as hcm, skin_color_master as scm, body_type_master as btm where h.height_id = p.height_id and btm.body_type_id =  p.body_type_id and p.eye_color_id = ecm.eye_color_id and p.hair_color_id = hcm.hair_color_id and p.skin_color_id = scm.skin_color_id and  p.user_id =" . $_SESSION['user_id']);

						$getDetails = mysql_fetch_array($myPhsclDetails);
							
							$height = $getDetails['height'];

							$eyes = $getDetails['eye_color'];

							$hair = $getDetails['hair_color'];

							$skin = $getDetails['skin_color'];

							$body = $getDetails['body_type'];
				
						echo "<tr><td>Height :</td><td>".$height."<br/></td></tr>";

						echo "<tr><td>Eyes :</td><td>".$eyes."<br/><td></tr>";

						echo "<tr><td>Hair :</td><td>".$hair."<br/><td></tr>";

						echo "<tr><td>Skin :</td><td>".$skin."<br/><td></tr>";

						echo "<tr><td>Body :</td><td>".$body."<br/><td></tr>";
					?>

				</table>

		</div>

		<div class="blank">&nbsp;</div>

		<div class="blank">&nbsp;</div>

	</div>

	<div id="wrapMiddle">

		<div id="myUpdates">

			<div class="myUpdates fontwt800 floatleft">My Updates</div>

			<div class="msg">
			
				<form method="post" action="" style="padding: 10px;">

					<input id="new_status_message" type="text" onkeyup="limitText(this,500);" onfocus="activate_textbox('new_status_message')" value="Share an update" maxlength="500" style="color: silver;" ><br>

					<input type="submit" name="submit" value="Share" class="floatright">

				</form>
		
			</div>
			
			<div class="clear"></div>

		</div>

		<div id="myPortfoliosJobs"  class="boder2pxgray">
	
			<div class="myPortfoliosJobs floatleft fontwt800 blank5">My Portfolios and Jobs</div>

				<br />
				
				<div class="clear"></div>

				<a href="#"><span class="fontwt800 textblue floatleft">No Title</span></a>

				<div class="clear"></div>

				<div class="floatleft">

				<ul style="margin-top: -5px;">

					<li><a href="#"><span class="textblue">you contacted</span></a></li>

					<li>|</li>
					
					<li><a href="#"><span class="textblue">view</span></a></li>
					
					<li>|</li>
					
					<li><a href="#"><span class="textblue">edit</span></a></li>
					
					<li>|</li>
					
					<li><a href="#"><span class="textblue">delete</span></a></li>

				</ul>

				</div>


			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>

			<div class="blank">&nbsp;</div>
		
		</div>
		
		<div class="clear"></div>

		<div class="taskList">

			<ul>

				<li><a href="#"><span class="textblue">Create portfolio</span></a></li>

				<li>|</li>

				<li><a href="#"><span class="textblue">Post new job</span></a></li>

				<li>|</li>

				<li><a href="#"><span class="textblue">Add new business</span></a></li>
			
			</ul>

		</div>

		<div class="clear"></div>

		<div id="profileUpdates">

		   <ul>

				<li><a href="#">All</a></li>

				<li>|</li>

				<li><a href="#">My feeds</a></li>

				<li>|</li>

				<li><a href="#">Celebrity feeds</a></li>

				<li>|</li>

				<li><a href="#">Friend feeds</a></li>


		   </ul>
   

		</div>

		<div class="clear"></div>

		<div class="blank">&nbsp;</div>

		<div class="blank">&nbsp;</div>

		<div id="postedUpdates">

			<div style="text-align: center;">No feed data found</div>

		</div>

	</div>

	<div id="wrapRight">

		<div class="myMsg fontwt800 floatleft">My Messages</div><br />

		<div>

			<table width="100%" align="center" cellpadding="4">

				<tr>

					<td><a href=""><span  class="textblue">0 Messages</span></a></td>

					<td><a href=""><span  class="textblue">0 Friend Requests</span></a></td>

				</tr>

				<tr>

					<td><a href=""><span  class="textblue">0 Jobs</span></a></td>

					<td><a href=""><span  class="textblue">0 Portfolio</span></a></td>

				</tr>

				<tr>

					<td><a href=""><span  class="textblue">0 Business</span></a></td>

					<td><a href=""><span  class="textblue">0 Recommendations</span></a></td>

				</tr>

			</table>

		</div>

	
		<div class="blank">&nbsp;</div>

		<div id="adBannerPortlet" class="boder2pxgray">

			<div class="adBannerPortlet">
			
			</div>

			<div class="blank">&nbsp;</div>

		</div>

		<div class="blank">&nbsp;</div>

		<div id="peopleJoined" class="boder2pxgray">

			<div class="fontwt800 floatleft">People who joined in</div><br />

			<div>

				<table width="100%">

					<tr>
					
						<?php
						
							require('includes/connect.php');

							$sql = mysql_query("select * from users where active='Y' order by user_id desc limit 0,4");	


							$productCount = -1;

							$noOfItemsPerRow = 2;
				
							while($row= mysql_fetch_array($sql))
		
							{   
		
								$productCount = $productCount + 1;
		
								$mod = $productCount%$noOfItemsPerRow;
		
								if($mod == 0){

								if($productCount==0) {
						
						?>

					</tr>
					
					<tr>
					
						<td colspan="<?php echo $noOfItemsPerRow;?>" width="100%">&nbsp;</td>
						
					<tr>
			
						<?php
								
													} 
												
														else 
													{

						?>

					</tr>
					
					<tr>
					
						<td colspan="<?php echo $noOfItemsPerRow;?>" class="separator" height="3px" width="100%">
						
						</td>

					<tr>

						<?php
														}

							}
							
							echo '<td><table width="100%" border="0">';
							
							echo '<tr><td><a href="mypage.php?user_id='.$row['user_id'].'"><span  class="tahoma-font8 textblue">'.$row['fname']." ".$row['lname'].'</span></a></td></tr>';					 
									
							echo '</table></td>';					
						}						
						?>
					
					</tr>

					<tr>

						<td align="right">1/pages</td>
						
						<td>
							
							<a href="#"><span class="floatright"><img src="images/next-image.jpg" width="20" height="20" border="0">next</span></a>
							
						</td>
						
					</tr>

				</table>

			</div>

			<div class="blank">&nbsp;</div>

		</div>

		<div class="blank5">&nbsp;</div>

		<div id="designPage" class="boder2pxgray">

			<div class="designPage fontwt800 floatleft">Design your page</div><br /><br />

			<span class="floatleft">Select a theme</span><br /><br />


		</div>

	</div>

</div>
</div>
</body>
</html>
